import request from '@/utils/request'

export function getConfig(businessId) {
  return request({
    url: '/wx/kd/wx_card/config/config',
    method: 'get',
    params: { businessId }
  })
}

export function saveConfig(data) {
  return request({
    url: '/wx/kd/wx_card/config/save',
    method: 'post',
    data: data
  })
}
